{extend name="user/index" /}

{block name="main"}

<ul class="list-group">
    <li class="list-group-item">ID: {$row.id}</li>
    <li class="list-group-item">ID: {$row.name}</li>
    <li class="list-group-item">
        sex:
            {switch name="row.sex"}
                {case value="0"} 女 {/case}
                {case value="1"} 男 {/case}
                {case value="2"} 保密 {/case}
                {default /} 未知生物
            {/switch}
    </li>
    <li class="list-group-item">ID: {$row.age}</li>
    <li class="list-group-item">ID: {$row.tel}</li>
    <li class="list-group-item">ID: {$row.province}</li>
</ul>

{/block}

{block name="myjs"}{/block}